<?php namespace App\Models;

class PageBlock extends \Eloquent {
	protected $table = 'page_block';
	protected $softDelete = true;

	public static function getMaxDisplayOrder($rowid)
	{
		return \DB::table('page_block')->where("rowid",$rowid)->max("displayorder");
	}
}